package com.kma.ncpractice2013.model;

import java.sql.Date;

public class PromoCodeType
{
    private int id;
    private int discount;
    private Date startDate;
    private Date expirationDate;
    private int managerId;

    public PromoCodeType()
    {

    }

//    public PromoCodeType(int id, int discount, Date startDate, Date expirationDate, HashSet<PromoCode> relatedPromoCodes)
//    {
//        this.id = id;
//        this.discount = discount;
//        this.startDate = startDate;
//        this.expirationDate = expirationDate;
//        this.relatedPromoCodes = relatedPromoCodes;
//    }

    public void setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
    }

    public int getDiscount() {
        return discount;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }
}
